package com.example.wlzz.repository.mongoRepository;

import com.example.wlzz.entity.sayLove.LoveComment;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface LoveCommentRepository extends MongoRepository<LoveComment,String> {
    LoveComment findBy_idAndDelFlag(String _id,int del_flag);
    Page<LoveComment> findByLoveWallIdAndDelFlag(String loveId, int del_flag, Pageable pageable);
}
